package com.xqboss.apps.vo.box;

import com.xqboss.apps.domain.box.Box;
import com.xqboss.apps.dto.box.BindBoxDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 *
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BoxInfoVo extends Box {

    @ApiModelProperty("藏品id")
    private Long nftId;

//    @ApiModelProperty("剩余库存：总库存－已售数量")
//    private Integer remainderStock;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("父分类名称")
    private String pcName;

    @ApiModelProperty("父分类id")
    private Long parentId;

    @ApiModelProperty("作者名称")
    private String authorName;

    @ApiModelProperty("作者头像")
    private String authorHeadimg;

    @ApiModelProperty("发行方名称")
    private String publishName;

    @ApiModelProperty("发售倒计时")
    private Integer saleCountdown;

    @ApiModelProperty(value = "购买须知")
    private String buyKnow;

    @ApiModelProperty(value = "版权声明")
    private String copyrightNotice;

    @ApiModelProperty("是否售罄")
    private Boolean soldOut;

//    @ApiModelProperty("是否绑定 0否，1是")
//    private Integer isBind;

    @ApiModelProperty("箱子绑定的nft数据")
    private List<BindBoxDto> bindNft;

}
